PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawPie Method / drawPie(PDFBrush,double,double,double,double,double,double) Method
that determines the characteristics of the fill.
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
Width of the bounding rectangle that defines the ellipse from which the pie shape comes.
Height of the bounding rectangle that defines the ellipse from which the pie shape comes.
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
In This Topic
    drawPie(PDFBrush,double,double,double,double,double,double) Method
    In This Topic
    Fills the interior of a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.
    Syntax
    public void drawPie( 
       PDFBrush brush,
       double x,
       double y,
       double width,
       double height,
       double startAngle,
       double sweepAngle
    )

    Parameters

    brush
    that determines the characteristics of the fill.
    x
    The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
    y
    The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
    width
    Width of the bounding rectangle that defines the ellipse from which the pie shape comes.
    height
    Height of the bounding rectangle that defines the ellipse from which the pie shape comes.
    startAngle
    Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
    sweepAngle
    Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
    See Also